'use strict';

const Service = require('egg').Service;

class loginService extends Service {
  async postuser(name,pwd) {
    const res = await this.app.mysql.get('sun', { name: name ,pwd:pwd});
    return res
  }
}

module.exports = loginService;
